<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Carbon;

/**
 * @property string $ip IP地址
 * @property string $url 请求URL
 * @property string $method 请求方法
 * @property string $agent 请求头
 * @property string $referer 来源页面
 * @property Carbon $created_at
 * @property Carbon $updated_at
 */
class AccessLog extends Model
{
    protected $table = 'access_logs';
    protected $fillable = [
        'ip',
        'url',
        'method',
        'agent',
        'referer',
    ];
}
